package com.hqhy.like.stock.dao.persist.repository;

import com.hqhy.like.common.pojo.vo.PageData;
import com.hqhy.like.stock.pojo.entity.StockOut;
import com.hqhy.like.stock.pojo.param.StockSearchParam;
import com.hqhy.like.stock.pojo.vo.StockOutListItemVO;

import java.util.List;

public interface IStockOutRepository {
    int insert(StockOut stockOut);

    int deleteById(Long id);

    int updateById(StockOut stockOut);

    PageData<StockOutListItemVO> list(Integer pageNum, Integer pageSize);

    StockOutListItemVO selectStockOutById(Long id);

    PageData<StockOutListItemVO> listForSearch(StockSearchParam stockInSearchParam);

    List<StockOutListItemVO> listStockInByIds(List<Long> ids);

    StockOutListItemVO getStockOutById(Long id);
}
